LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)
MY_ROOT := ../libmad

LOCAL_SRC_FILES:= \
	$(MY_ROOT)/version.c \
	$(MY_ROOT)/fixed.c \
	$(MY_ROOT)/bit.c \
	$(MY_ROOT)/timer.c \
	$(MY_ROOT)/stream.c \
	$(MY_ROOT)/frame.c  \
	$(MY_ROOT)/synth.c \
	$(MY_ROOT)/decoder.c \
	$(MY_ROOT)/layer12.c \
	$(MY_ROOT)/layer3.c \
	$(MY_ROOT)/huffman.c \

LOCAL_ARM_MODE := arm 

LOCAL_SHARED_LIBRARIES := 

LOCAL_MODULE:= libmp3decoder

LOCAL_C_INCLUDES := \
    $(LOCAL_PATH)/android 

LOCAL_CFLAGS := -DHAVE_CONFIG_H -DFPM_ARM -ffast-math -O3

include $(BUILD_STATIC_LIBRARY)
